<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Guahao extends Model
{
    use SoftDeletes;
    
    protected $table = 'guahao';
    protected  $guarded = ['id'];
    // public $timestamps = false;
	
	public function jiuzhenren()
	{
	    return $this->hasOne('App\Models\Jiuzhenren', 'id', 'jiuzhenren_id');
	}
	
	public function guahaoSet()
	{
	    return $this->hasOne('App\Models\GuahaoSet', 'id', 'yuyuetime_id');
	}
}
